package com.example.administrator.shexiangtoujiu;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;

import com.newland.cameralib.CameraManager;

public class MainActivity extends AppCompatActivity {
    private WebView web;
    private CameraManager mcameraManager;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        init();

    }

    private void init() {
        web=findViewById(R.id.web);
        mcameraManager=CameraManager.getInstance();
        mcameraManager.startCamera("192.168.1.100",web);
    }
}
